package org.dromara.hrp.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapper;
import org.dromara.hrp.domain.HrpLead;
import org.springframework.lang.Nullable;

import java.util.List;

/**
 * 线索商机Mapper接口
 *
 * @author wenrui
 * @date 2024-03-21
 */
@Mapper
public interface HrpLeadMapper extends BaseMapper<HrpLead> {

  Page<HrpLead> getHrpLeadList(@Nullable @Param("page") Page<HrpLead> page, @Param("bo") HrpLead bo);

  HrpLead getHrpLead(Long id);
}
